package com.scoressystem.pojo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class Scores {

    private Integer id;
    private Integer stuId;
    private Integer subId;
    private Double  score;
    private Integer del;
    private String  stuName;
    private String  subName;

    public Scores(Integer id, Integer stuId, Integer subId, Double score, Integer del) {
        this.id = id;
        this.stuId = stuId;
        this.subId = subId;
        this.score = score;
        this.del = del;
    }

    public Scores(Integer stuId, Integer subId, Double score, Integer del) {
        this.stuId = stuId;
        this.subId = subId;
        this.score = score;
        this.del = del;
    }
}
